package org.jeecg.modules.xxgx.hzsqgl.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 红字申请
 * @Author: jeecg-boot
 * @Date:   2023-09-22
 * @Version: V1.0
 */
@ApiModel(value="cs_xx_hzsqjs对象", description="红字申请")
@Data
@TableName("cs_xx_hzsqjs")
public class CsXxHzsqjs implements Serializable {
    private static final long serialVersionUID = 1L;

	/**编号*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "编号")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**租户编号*/
	//@Excel(name = "租户编号", width = 15)
    @ApiModelProperty(value = "租户编号")
    private Integer tenantId;
	/**企业主键*/
	//@Excel(name = "企业主键", width = 15)
    @ApiModelProperty(value = "企业主键")
    private String companyId;
	/**红字信息表编号*/
	@Excel(name = "红字信息表编号", width = 15)
    @ApiModelProperty(value = "红字信息表编号")
    private String xxbbh;
	/**申请流水号*/
	@Excel(name = "申请流水号", width = 15)
    @ApiModelProperty(value = "申请流水号")
    private String sqlsh;
	/**含税标志:0:不含税；1：含税*/
	@Excel(name = "含税标志", width = 15)
    @ApiModelProperty(value = "含税标志:0:不含税；1：含税")
    @Dict(dicCode = "xxhsbz")
    private String hsbz;
	/**清单标识*/
	@Excel(name = "清单标识", width = 15, dicCode = "xxqdbz")
    @Dict(dicCode = "xxqdbz")
    @ApiModelProperty(value = "清单标识")
    private String qdbz;
	/**申请方*/
	@Excel(name = "申请方", width = 15)
    @ApiModelProperty(value = "申请方")
    @Dict(dicCode = "xxhzsqf")
    private String sqf;
	/**申请类型*/
	@Excel(name = "申请类型", width = 15)
    @ApiModelProperty(value = "申请类型")
    @Dict(dicCode = "xxhzsqlx")
    private String sqlx;
	/**征税方*/
	@Excel(name = "征税方", width = 15)
    @ApiModelProperty(value = "征税方")
    @Dict(dicCode = "xxzsfs")
    private String zsfs;
	/**红冲类型*/
	@Excel(name = "红冲类型", width = 15)
    @ApiModelProperty(value = "红冲类型")
    @Dict(dicCode = "xxhclx")
    private String hclx;
	/**原发票类型*/
	@Excel(name = "原发票类型", width = 15)
    @ApiModelProperty(value = "原发票类型")
    @Dict(dicCode = "xxfplxdm")
    private String yfplxdm;
	/**原发票代码*/
	@Excel(name = "原发票代码", width = 15)
    @ApiModelProperty(value = "原发票代码")
    private String yfpdm;
	/**原发票号码*/
	@Excel(name = "原发票号码", width = 15)
    @ApiModelProperty(value = "原发票号码")
    private String yfphm;
	/**原发票开票日期*/
	@Excel(name = "原发票开票日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "原发票开票日期")
    private Date ykprq;
	/**红字信息表上传标志*/
	@Excel(name = "红字信息表上传标志", width = 15)
    @ApiModelProperty(value = "红字信息表上传标志")
    @Dict(dicCode = "xxhzsczt")
    private String sczt;
	/**红票开具状态*/
	@Excel(name = "红票开具状态", width = 15)
    @ApiModelProperty(value = "红票开具状态")
    @Dict(dicCode = "xxkpzt")
    private String kjzt;
	/**处理状态
     * 0:已保存 1:已提交 2:审核通过 3:审核不通过 4:已撤销 5:已核销
     * 6：待查证 7：已核销,待查证 8：已核销,查证未通过,待处理 9：核销后激活
     * 10：已核销,查证未通过,处理中 11：已核销,查证未通过,已处理 12：核销未通过,待处理
     * 13：核销未通过,处理中 14：核销未通过,已处理 15：已作废
     * */
	@Excel(name = "处理状态", width = 15, dicCode = "xxhzxxclzt")
    @Dict(dicCode = "xxhzxxclzt")
    @ApiModelProperty(value = "处理状态")
    private String clzt;
	/**红字状态*/
	@Excel(name = "红字状态", width = 15)
    @ApiModelProperty(value = "红字状态")
    @Dict(dicCode = "xxhzzt")
    private String hzzt;
	/**购方名称*/
	@Excel(name = "购方名称", width = 15)
    @ApiModelProperty(value = "购方名称")
    private String khmc;
	/**购方税号*/
	@Excel(name = "购方税号", width = 15)
    @ApiModelProperty(value = "购方税号")
    private String khsh;
	/**购方地址电话*/
	@Excel(name = "购方地址电话", width = 15)
    @ApiModelProperty(value = "购方地址电话")
    private String khdzdh;
	/**购方银行账号*/
	@Excel(name = "购方银行账号", width = 15)
    @ApiModelProperty(value = "购方银行账号")
    private String khyhzh;
	/**销方名称*/
	@Excel(name = "销方名称", width = 15)
    @ApiModelProperty(value = "销方名称")
    private String xfmc;
	/**销方税号*/
	@Excel(name = "销方税号", width = 15)
    @ApiModelProperty(value = "销方税号")
    private String xfsh;
	/**销方地址电话*/
	@Excel(name = "销方地址电话", width = 15)
    @ApiModelProperty(value = "销方地址电话")
    private String xfdzdh;
	/**销方银行账号*/
	@Excel(name = "销方银行账号", width = 15)
    @ApiModelProperty(value = "销方银行账号")
    private String xfyhzh;
	/**税额合计*/
	@Excel(name = "税额合计", width = 15)
    @ApiModelProperty(value = "税额合计")
    private java.math.BigDecimal hjse;
	/**合计金额*/
	@Excel(name = "合计金额", width = 15)
    @ApiModelProperty(value = "合计金额")
    private java.math.BigDecimal hjje;
	/**红字申请时间*/
	@Excel(name = "红字申请时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "红字申请时间")
    private Date sqsj;
	/**红冲原因*/
	@Excel(name = "红冲原因", width = 15)
    @ApiModelProperty(value = "红冲原因")
    @Dict(dicCode = "xxhcyy")
    private String hcyy;
	/**联系方式*/
	@Excel(name = "联系方式", width = 15)
    @ApiModelProperty(value = "联系方式")
    private String lxdh;
	/**申请人*/
	@Excel(name = "申请人", width = 15)
    @ApiModelProperty(value = "申请人")
    private String sqr;
	/**申请理由*/
	@Excel(name = "申请理由", width = 15)
    @ApiModelProperty(value = "申请理由")
    private String sqly;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String bz;
	/**失败原因*/
	@Excel(name = "失败原因", width = 15)
    @ApiModelProperty(value = "失败原因")
    private String sbyy;
    @Excel(name = "开票终端代码", width = 15)
    @ApiModelProperty(value = "开票终端代码")
    private String kpzddm;
    @ApiModelProperty(value = "特殊票种")
    @Dict(dicCode = "xxtspz")
    private java.lang.String tspz;

    @ApiModelProperty(value = "特定要素类型代码")
    @Dict(dicCode = "xxtdyw")
    private java.lang.String tdyslxdm;
}
